package com.xzl.org.learning_situation_analysis.service;

import com.xzl.org.learning_situation_analysis.entity.QuestionScore;

import java.util.HashMap;
import java.util.List;

/**
 * @author 夏智力
 * @FileName QuestionScoreService
 * @date 2022/4/14 14:59
 * @Software: IntelliJ IDEA
 */
public interface QuestionScoreService {

    List<QuestionScore> selectByPaperIdAndStudentId(int paperId, int studentId);

    HashMap<Integer,Float> selectPaperTotalScoreByPaperId(int paperId);

    int insertQuestionScore(QuestionScore questionScore);

    int updateScore(int id, float score);
}
